package e

const (
	SUCCESS       = 200
	ERROR         = 500
	InvalidParams = 400

	ErrorExistTag      = 10001
	ErrorExistTagFail  = 10002
	ErrorNotExistTag   = 10003
	ErrorGetTagsFail   = 10004
	ErrorCountTagFail  = 10005
	ErrorAddTagFail    = 10006
	ErrorEditTagFail   = 10007
	ErrorDeleteTagFail = 10008
	ErrorExportTagFail = 10009
	ErrorImportTagFail = 10010

	ErrorNotExistArticle       = 10011
	ErrorCheckExistArticleFail = 10012
	ErrorAddArticleFail        = 10013
	ErrorDeleteArticleFail     = 10014
	ErrorEditArticleFail       = 10015
	ErrorCountArticleFail      = 10016
	ErrorGetArticlesFail       = 10017
	ErrorGetArticleFail        = 10018
	ErrorGenArticlePosterFail  = 10019

	ErrorAddMalfunctionFail      = 10021
	ErrorDeleteMalfunctionFail   = 10022
	ErrorCountMalfunctionFail    = 10023
	ErrorGetMalfunctionFail      = 10024
	ErrorEditMalfunctionFail     = 10025
	ErrorExistMalfunctionFail    = 10026
	ErrorNotExistMalfunctionFail = 10027

	ErrorExistUserFail = 10031
	ErrorAddUserFail   = 10032
	ErrorGetUserFail   = 10033

	ErrorGetUserRentFail  = 10041
	ErrorDeleteRentFail   = 10042
	ErrorRentExistFail    = 10043
	ErrorNotExistRentFail = 10044
	ErrorCountRentFail    = 10045
	ErrorGetRentFail      = 10046

	ErrorRoomExistFail    = 10051
	ErrorAddRoomFail      = 10052
	ErrorNotExistRoomFail = 10053
	ErrorDeleteRoomFail   = 10054
	ErrorGetRoomFail      = 10055
	ErrorCountRoomFail    = 10056

	ErrorAuthCheckTokenFail    = 20001
	ErrorAuthCheckTokenTimeout = 20002
	ErrorAuthToken             = 20003
	ErrorAuth                  = 20004
	ErrorAuthTokenNotExist     = 20005

	ErrorUploadSaveImageFail    = 30001
	ErrorUploadCheckImageFail   = 30002
	ErrorUploadCheckImageFormat = 30003

	ErrorSystemDataBaseFail = 40001
)
